<?php
	
class Admin_Model_Db_Group extends Itvina_Model_Abstract
{
	protected $group_id;
	protected $group_name;
	protected $group_parent_code;
	protected $group_permission;
	protected $group_note;
	protected $group_level;
	protected $group_code;
				
	public function getGroup_id()
	{
		return $this->group_id;
	}
				
	public function getGroup_name()
	{
		return $this->group_name;
	}
				
	public function getGroup_parent_code()
	{
		return $this->group_parent_code;
	}
				
	public function getGroup_permission()
	{
		return $this->group_permission;
	}
				
	public function getGroup_note()
	{
		return $this->group_note;
	}
				
	public function getGroup_level()
	{
		return $this->group_level;
	}
				
	public function getGroup_code()
	{
		return $this->group_code;
	}
				
	public function setGroup_id($group_id)
	{
		$this->group_id = Itvina_Model_Abstract::settype ( $group_id, Itvina_Model_Abstract::NUMERIC );
		return $this;
	}
				
	public function setGroup_name($group_name)
	{
		$this->group_name = $group_name;
		return $this;
	}
				
	public function setGroup_parent_code($group_parent_code)
	{
		$this->group_parent_code = $group_parent_code;
		return $this;
	}
				
	public function setGroup_permission($group_permission)
	{
		$this->group_permission = $group_permission;
		return $this;
	}
				
	public function setGroup_note($group_note)
	{
		$this->group_note = $group_note;
		return $this;
	}
				
	public function setGroup_level($group_level)
	{
		$this->group_level = Itvina_Model_Abstract::settype ( $group_level, Itvina_Model_Abstract::NUMERIC );
		return $this;
	}
				
	public function setGroup_code($group_code)
	{
		$this->group_code = $group_code;
		return $this;
	}
}